﻿function grid_RowDblClick(s, e) {
	s.StartEditRow(e.visibleIndex);
}

function grid_FocusedRowChanged(s, e) {
	if (s.cpIsEditing)
		s.UpdateEdit();
}

function editor_KeyDown(s, e) {
	switch (e.htmlEvent.keyCode) {
		case 13:
			ASPxGridViewUsuarios.UpdateEdit(); break;
		case 27:
			ASPxGridViewUsuarios.CancelEdit(); break;
	}
}